<template>
  <div class="text">
    <span class="title" v-if="question.isNecessary === true" style="color: salmon">*</span>
    <span class="title">{{index}}.{{question.title}}</span>
    <span class="type">&ensp;&ensp;&ensp;[填空题]</span>
    <br>
    <div >
      <el-input :model-value="question.content"></el-input>
    </div>
  </div>
</template>

<script>
export default {
  name: "RawCompletion",
  props: {
    question: Object,
    index: Number,
    time: String,
  }
}
</script>

<style scoped>
.text {
  text-align: left;
}
.title {
  font-weight: bold;
  color: black;
  font-size: 20px;
}
</style>